package com.rerun.vo.park;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotBlank;

import com.rerun.entity.JobTag;
/**
 * 校验job
 * @author Administrator
 *
 */
public class JobValidVo implements Serializable{

	private static final long serialVersionUID = -291001029658853639L;
	private String id;
	@NotBlank(message="园长Id不能为空")
	@Pattern(regexp="^[0-9]{1,2}$",message="园长Id是整数")
	private String parkId;
	@NotBlank(message="职位名称不能为空")
	private String jobName;
	
	private String  jobType;
	
	@NotBlank(message="工作城市不能为空")
	private String workCity;
	 private String workDistrict;
	@NotBlank(message="工作地点不能为空")
	private String parkAddress;
	
	@NotBlank(message="薪资范围不能为空")
	private String salaryRange;
	@NotBlank(message="工作年限不能为空")
	private String workYears;
	@NotBlank(message="学历要求不能为空")
	private String edu;
	
	@NotBlank(message="职位描述不能为空")
	private String jobDetail;
	
	private String status;//职位状态
	
	private List<JobTag> jobTags;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParkId() {
		return parkId;
	}

	public void setParkId(String parkId) {
		this.parkId = parkId;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getWorkCity() {
		return workCity;
	}

	public void setWorkCity(String workCity) {
		this.workCity = workCity;
	}

	public String getWorkDistrict() {
		return workDistrict;
	}

	public void setWorkDistrict(String workDistrict) {
		this.workDistrict = workDistrict;
	}

	public String getParkAddress() {
		return parkAddress;
	}

	public void setParkAddress(String parkAddress) {
		this.parkAddress = parkAddress;
	}

	public String getSalaryRange() {
		return salaryRange;
	}

	public void setSalaryRange(String salaryRange) {
		this.salaryRange = salaryRange;
	}

	public String getWorkYears() {
		return workYears;
	}

	public void setWorkYears(String workYears) {
		this.workYears = workYears;
	}

	public String getEdu() {
		return edu;
	}

	public void setEdu(String edu) {
		this.edu = edu;
	}

	public String getJobDetail() {
		return jobDetail;
	}

	public void setJobDetail(String jobDetail) {
		this.jobDetail = jobDetail;
	}

	public List<JobTag> getJobTags() {
		return jobTags;
	}

	public void setJobTags(List<JobTag> jobTags) {
		this.jobTags = jobTags;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getJobType() {
		return jobType;
	}

	public void setJobType(String jobType) {
		this.jobType = jobType;
	}
	
}
